﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using PowersourceUIToolkit;

namespace PowersourceUIToolkit
{
    public class DummyViewConductor : ViewConductorBase
    {
        internal ContentControl RootControl;

        DummyViewConductor(ContentControl control)
        {
            RootControl = control;
        }

        protected override bool OnInitializing()
        {
            if (!base.OnInitializing()) return false;
            RootControl.Content = TopContentControl;
            return true;
        }
    }
}
